$(function(){
	geetdata("../../articledetail/list.do", {
		id:geetRequestValueByParameter('id')
	}, "#content", "content_detail", '', false, function () {
        $('div.pinch-zoom').each(function () {
            new RTP.PinchZoom($(this), {});
        });
        $('title').html($('.xCH').html());
        iBShare.init();    //初始化 
    });
	
	//bShare分享  
	var iBShare = {  
	    //初始化  
	    init: function() {  
	        var $shareBox = $(".bshare-custom");  
	        //加载分享工具  
	        var tools = ''; 
	        tools += '<a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a>';  
	        $shareBox.append(tools);  
	        //绑定分享事件  
	        $shareBox.children("a").click(function() {  
	            var parents = $(this).parent();  
	            bShare.addEntry({  
	                title: parents.attr("title"),  
	                url: parents.attr("url"),  
	                summary: parents.attr("summary"),  
	                pic: parents.attr("pic")  
	            });  
	        });  
	    }  
	}  
})